<%-- 
    Document   : checkSession
    Created on : Dec 5, 2014, 12:30:07 AM
    Author     : Hai
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    if (session.getAttribute("user") == null) {

        if (!request.getRequestURI().contains("login")) {
            session.removeAttribute("user");
            response.sendRedirect(Manager.Const.login);
        }

    }
%>

